package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2025-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TDeliverp对象", description="发货出库表")
public class TDeliverp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "状态 0-未备货,1-已备货,2-已发货,3-已签收")
    private Integer stat;

    @ApiModelProperty(value = "发货单id")
    private Integer pid;

    @ApiModelProperty(value = "订单分解表id")
    private Integer ppid;

    @ApiModelProperty(value = "产品(ERP)编码")
    private String bn;

    @ApiModelProperty(value = "产品名称")
    private String na;

    @ApiModelProperty(value = "型号规格")
    private String size;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "计量单位")
    private String unit;

    @ApiModelProperty(value = "装箱信息")
    private String json;

    @ApiModelProperty(value = "出货数量")
    private Double oqt;

    @ApiModelProperty(value = "出库金额")
    private Double amount;

    private Double cost;

    @ApiModelProperty(value = "客户编码")
    private String cbn;

    @ApiModelProperty(value = "归属部门id")
    private Integer oid;

    private Double weight;//重量

}
